<?php
session_start();
$masp=$_GET['item'];
	if(isset($_SESSION['cart'][$masp]))
	{
	 $qty = $_SESSION['cart'][$masp] + 1;
	}
	else
{
	 $qty=1;
	}
	$_SESSION['cart'][$masp]=$qty;
	 header("location:cart.php");
	exit();
	?>

